* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: poppins;
}

body {
  width: 100%;
  height: 100vh;
  background-image: url("https://images.pexels.com/photos/1906658/pexels-photo-1906658.jpeg");
  background-position: center 40%;
  background-size: cover;
  background-repeat: no-repeat;
}

.parent {
  width: 70%;
  height: 60%;
  min-width: 700px;
  min-height: 450px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 10px 50px;

  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 15%;

    h1 {
      text-transform: uppercase;
      font-weight: 600;
      color: #412975;
      word-spacing: 5px;

      span {
        color: #73367c;
        font-weight: 300;
      }
    }

    ul {
      list-style: none;

      display: flex;
      text-transform: uppercase;
      column-gap: 2em;

      a {
        text-decoration: none;
        position: relative;

        &::after {
          content: "";
          display: block;
          width: 0%;
          height: 2px;
          position: absolute;
          bottom: -3px;
          transition: width 0.3s ease;
          background-color: #9b5496;
        }

        &:hover {
          &::after {
            width: 100%;
          }
        }
      }
    }
  }

  .card {
    height: 85%;
    display: flex;

    .left {
      width: 60%;

      h1 {
        margin-top: 60px;
        font-size: 55px;
        font-weight: 500;
        color: #6843b7;
      }

      p {
        font-size: 12px;
        margin: 10px 0 60px 0;
      }

      button {
        border: none;
        outline: none;
        border-radius: 20px;
        padding: 8px 30px;
        background-color: #622778;
        color: #fff;

        &:hover {
          background-color: #6843b7;
        }
      }
    }
  }
}
